package org.proxycine.gestsalles.services;

import org.proxycine.gestsalles.model.dao.LoginDao;
import org.proxycine.gestsalles.model.entities.Employe;

public final class LoginService {
	
	private static LoginService instance;
	
	private LoginService() {
		instance = this;
	}
	
	public static LoginService getInstance() {
		if(instance == null)
			instance = new LoginService();
		
		return instance;
	}
	
	public Employe valideLogin(String login, String password) {
		//return null;
		return LoginDao.getInstance().valideLogin(login, password);
	}

}
